package descentFly.away3D4.doors
{
	import away3d.primitives.Sphere;
	
	import descentFly.app.radar.df_radarEvent;
	import descentFly.away3D4.chips.df_chipModel;
	import descentFly.away3D4.chips.df_noActiveSphere;
	import descentFly.df_space;
	
	import jiglib.physics.RigidBody;
	
	public class df_door extends df_chipModel {
		public static const FIELD_NEAREST	: String = 'nearest';
		public static const NEAREST_DEFAULT	: Number = 0;
		
		public static const ACTION_OPEN_DOOR: String = 'ACTION_OPEN_DOOR';
		
		public function df_door(a_space:df_space, a_options:Object) {
			super(a_space, a_options);
			checkOption(FIELD_NEAREST, NEAREST_DEFAULT); 
		}
		
		override protected function setBody(a_body:RigidBody):void {
			super.setBody(a_body);
			body.movable = false;
		}
		
		override protected function createNoactiveSphere():void {
		}
		
		override protected function doRadar(e:df_radarEvent):void {
			
		}
		
		override protected function addBodyInPhysic(a_box:RigidBody):void {
			
		}
	}
}